package main

import (
    "../rmq"
    "fmt"
)

func main() {
    if err := rmq.Init("./rmq.json"); err != nil {
        fmt.Println(err)
    }

    if err := rmq.Push("myPusher", "myQueue", []byte("Hello world!")); err != nil {
        fmt.Println(err)
    }

    if err := rmq.Fini(); err != nil {
        fmt.Println(err)
    }
}
